package com.kevin.service.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * roll api 配置
 *
 * @author wh
 * @date 2023-12-19 14:16
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "roll")
public class RollApiProperties {

    private static String appId;

    private static String secret;

    public static String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        RollApiProperties.appId = appId;
    }

    public static String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        RollApiProperties.secret = secret;
    }
}
